<table class="table table-striped table-bordered table-condensed">
    <thead>
        <tr>
            <th>Name</th>
            <th>E-mail</th>
            <th>Phone</th>
            <th>City</th>
            <th class="th-action center">Action</th>
        </tr>
    </thead>
    <tbody>

        <?  foreach($owners as $owner): ?> 

            <tr>

                <td><strong><?=$owner->name.' '.$owner->surname?></strong></td>
                <td><?=$owner->email?></td>
                <td><?=$owner->mobile_phone?>  <?=$owner->telephone?></td>
                <td><?=$owner->city?></td>
                <td class="center">
                    <!--<a id="view_owner" href="javascript" rel="<?=$owner->ID?>" data-toggle="modal">View</a> |-->
                    <a href="#" onclick="openEditOwner('<?=$owner->ID?>'); return false;">Edit</a> |
                    <a href="<?=base_url()?>owners/delete/<?=$owner->ID?>" class="delete_post">Delete</a>
                </td> 

            </tr>                                      

            <? endforeach; ?>

    </tbody>
</table>